/**
 * Created by chenyong on 2015/2/6.
 */

var mongoose = require('mongoose'),
    Schema = mongoose.Schema;

var MessageSchema = new Schema({
    messageType:String,
    subject:String,
    content:String,
    from:String,
    to:String,
    status:String
});

module.exports = mongoose.model('Message', MessageSchema);